package com.bening.smsapp.constant;

public interface SmsAppConstant
{
	public static final String CORE_DOWNLOADER = "download";
	public static final String CORE_PARSER = "parse";
	public static final String CORE_CHECKER = "check";
	public static final String CORE_TESTDB = "testdb";
	public static final String CORE_CONFIGPATH = "config.file";
	public static final String CORE_CONFIGNAME = "smsapp.properties";
	public static final String SQL_CONFIGNAME = "query.properties";
	public static final String ASCII_CTL_TEMPLATE		= "ascii.ctl";
	public static final String ASN1_CTL_TEMPLATE		= "asn1.ctl";
	
	public static final int ASCII = 0;
	public static final int ASN1 = 1;
	
	
	public static final int FLAG_DOWNLOAD_READY = 1;
	public static final int FLAG_PARSE_READY = 2;
	public static final int FLAG_PARSE_RUNNING = 3;
	public static final int FLAG_PARSE_DONE = 4;
	
	public static final String FLAG_MACHINE = "MAC";
	public static final String FLAG_EXT_OPERS = "EXTOP";
	
	public static final int FLAG_LOCAL_MACHINE = 0;
	public static final int FLAG_REMOTE_MACHINE = 1;
	
	public static final int SQL_ERROR = 1;
	public static final int PARSE_ERROR = 2;
	public static final int DOWNLOAD_ERROR = 3;
	public static final int REGISTER_ERROR = 4;
	
	public static final String PROPERTIES_TAG = "com.bening.smsapp.tag.";
	public static final String TAG_SIZE = "size";
	public static final String CHILD = ".child";
	public static final String CHILD_ = ".child.";
	public static final String TYPE = ".type";
	
	public static final String OCTET_TYPE = "OCTET_TYPE";
	public static final String BIT_STRING = "BIT_STRING";
	public static final String INTEGER = "INTEGER";
	
	// new
	public static final String PREPSTMT_IMPL = "prepStmt";
	public static final String SQLLDR_IMPL = "sqlldr";
}
